/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package br.cesupa.sessionbean;

import br.cesupa.localinterface.PerfilDAO;
import br.cesupa.sgc.entity.Perfil;
import javax.ejb.Stateless;

/**
 *
 * @author yuri
 */
@Stateless
public class PerfilSUDI extends GenericSUDI<Perfil> implements PerfilDAO {

    public Perfil getByPerfil(String perfil) {
        return (Perfil) super.executeNamedQueryObject("Perfil.findByPerfil", "perfil", perfil);
    }

}
